package com.nf.teamwork.mall.service.impl;

import com.nf.teamwork.mall.dao.ProductPicDao;
import com.nf.teamwork.mall.entity.ProductPic;
import com.nf.teamwork.mall.service.ProductPicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: LJP
 * @Classname ProductPicServiceImpl
 * @Date: 2020-02-27 19:14
 * @Description: 商品图片表service层
 */
@Service
public class ProductPicServiceImpl implements ProductPicService {
    @Autowired
    private ProductPicDao productPicDao;
    @Override
    public List<ProductPic> findAll() {
        return productPicDao.findAll();
    }
}
